import { ref, computed , reactive  } from 'vue'
import { defineStore } from 'pinia'

export const userindex = defineStore('userindex', () => {
  let isshow = ref(true)
  let ishua=ref(false)
  const fan = computed(() => !isshow)
  function increment() {
    isshow.value=!isshow.value
  }
  function quf(){
    ishua.value=false
  }
  function qt(){
    ishua.value=true
  }
  return { isshow, increment ,fan,ishua,quf,qt}
})
